﻿//======================================================================
//
//        Copyright (C) 2002-2008 S.Sams Lifexperience!
//        All rights reserved
//        FileName : MapLine
//        Description :
//        Created by Sam Shen at 2008/8/2 14:35:49
//        http://lab.travelive.com.cn/
//        E-Mail: S.Sams@msn.com
//
//======================================================================

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace S.Sams.GoogleMap
{
    /// <summary>
    /// 添加地图线条标注
    /// 注: 页面需要载入 VML,
    /// 添加 Html 节点属性: [xmlns:v="urn:schemas-microsoft-com:vml"] , 
    /// 添加样式表支持 [v\:*{behavior:url(#default#VML);}]
    /// </summary>
    public class MapLine
    {
        /// <summary>
        /// 标注点集合(只需设置X.Y属性即可)
        /// </summary>
        public List<Label> Labels
        {
            get;
            set;
        }

        /// <summary>
        /// 线条颜色(16进制表示, 如: #FF0000)
        /// </summary>
        [DefaultValue("#0033FF")]
        public string Color16Code
        {
            get;
            set;
        }

        /// <summary>
        /// 线条宽度
        /// </summary>
        [DefaultValue(5)]
        public int LineWidth
        {
            get;
            set;
        }

    }
}
